-- GENERATED SPELL FOR [Elder Dragonkin] --


function spell0_746(pUnit, Event) --@Acid Splash,Self--
pUnit:FullCastSpellOnTarget(6306,pUnit)
pUnit:RegisterEvent('Sorts_746', 31000, 1)
end

function Sorts_746(pUnit, Event)
local choix_sorts_746 = math.random(0, 0)
if choix_sorts_746 == 0 then
pUnit:RegisterEvent('spell0_746', 1, 1)
end
end

function mob746_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_746', math.random(1500, 3000), 1)
end

function mob746_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob746_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob746_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(746, 1, 'mob746_Action')
RegisterUnitEvent(746, 2, 'mob746_Leave')
RegisterUnitEvent(746, 3, 'mob746_Kill')
RegisterUnitEvent(746, 4, 'mob746_Die')
